<?
include("config.php");

$sql 	= "create view vmaxtglefektif as select max(tgl_efektif) as tglefektif, nik from karirptsi group by nik";

$q		= mssql_query($sql,$conn);
if($q){
	echo"OK, View Sudah Dibuat";
}
else{
	echo "BAD, View Gagal Dibuat";
}
